<%--
  Created by IntelliJ IDEA.
  User: edy
  Date: 2021/8/24
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>wan.首页</title>
    <link rel="stylesheet" href="css/find.css" type="text/css">
    <link href="image/logo-find.png" rel="icon" type="image/x-icon">
    <style>
        .aa {
            position: fixed;
            right: 100px;
        }

        .for1 {
            text-align: center;
            position: relative;
            top: 80px;
        }

        input {
            font-size: 25px;
        }

        body {
            background-image: url("image/back.jpg");
        }
    </style>
    <h2 align="center">WAN.小说网</h2>
</head>
<body>
    <a href="depository.jsp" class="aa">本地书库</a>
    <form action="HelloNovel" method="get" class="for1">
        <%
            if (!org.apache.commons.lang.StringUtils.isBlank((String) request.getSession().getAttribute("path"))) {
                request.setAttribute("litle",request.getSession().getAttribute("path"));
            }else {
                request.setAttribute("litle","小说搜索：");
            }
        %>
        <table align="center">
            <tr>
                <td>
                    <div style="font-size: 25px"><%= request.getAttribute("litle") %></div>
                </td>
            </tr>
            <tr>
                <td>
                    <input type="text" name="search">
                </td>
                <td>
                    <input type="submit" value="确定">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
